package com.heima.dynamic_sql.mapper;

import com.heima.dynamic_sql.entity.Address;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository //只是为了Service注入不报错，无任何其它意义
public interface AddressMapper {

    public List<Address> findAddressByUserId(@Param("uid") Long id);
}
